#include "prevwid.h"

prevWid::prevWid(QString icon)
{
         prevPix = new QPixmap(QString(QApplication::applicationDirPath() + "/themes" + icon));
         this->setPixmap(*prevPix);
}

void prevWid::mousePressEvent ( QGraphicsSceneMouseEvent * event )
{
        emit prevPressed();
        qDebug() << "Event => prevPressed()";
}
